package com.ss.movierecommendationsystem.base.Pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @author Zhaoluowei
 * @version 1.0
 * @date 2019/4/28 14:25
 */
@Data
@Accessors(chain = true)
public class RespInfo {

    private Integer code;
    private String msg;
    private Object data;

    public RespInfo() {
    }

    public RespInfo(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public RespInfo(Integer code, String msg, Object data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }
}
